package com.xy.gateway.service.impl;


import java.util.List;
import java.util.Map;
import java.util.Date;
import com.xy.core.util.BeanUtil;
import com.xy.common.page.Pagination;
import com.xy.core.service.impl.BaseServiceImpl;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import com.xy.gateway.dao.ReqctlDao;
import com.xy.gateway.model.Reqctl;
import com.xy.gateway.service.ReqctlService;

@Service
@Transactional
public class ReqctlServiceImpl extends BaseServiceImpl<Reqctl> implements
		ReqctlService {
	private ReqctlDao reqctlDao;

	public ReqctlServiceImpl(ReqctlDao paramAppRoleDao) {
		super(paramAppRoleDao);
		this.reqctlDao = paramAppRoleDao;
	}

	@Override
	public boolean checkExist(String paraName, String paraValue) {
		return reqctlDao.checkExist("Reqctl", paraName, paraValue);
	}

	@Override
	public List<Reqctl> getReqctl(Map<String, Object> map) {
		return reqctlDao.getReqctl(map);
	}
	@Override
	public Pagination getReqctlByPage(Map<String, Object> map, int pageNo,
			int pageSize) {
		// TODO Auto-generated method stub
		return reqctlDao.getReqctlByPage(map, pageNo, pageSize);
	}
	 
   @Override
	public Reqctl save(Reqctl reqctl) {return super.save(reqctl);}
}